$(document).ready(function () {
    var $devCode= null;
    var $devPassword= null;
    // 登录
   $('#js-btn-login').click(function () {
       $devCode= $('#devCode').val();
       $devPassword= $('#devPassword').val();
       var url= "developer/login";
       $.post(url,{'devCode':$devCode,'devPassword':$devPassword},function (json) {
           if( json ) {
                if( json == true) {
                    window.location.href= "pages/developer/devIndex.html";
                } else {
                    $('#messInfo').html("账号或密码错误...");
                }
           } else {
               $('#messInfo').html("账号或密码错误...");
           }
       });
   });
});